package ch3;

import java.util.Scanner;

public class Prize2 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("请输入张浩同学的java成绩：");
		int java = in.nextInt();
		System.out.println("再输入music成绩：");
		int music = in.nextInt();

		if ((java > 90 && music > 80) || (java == 100 && music > 70)) {
			System.out.println("iphone 40作为奖励");
		}
	}

}
